﻿package baidu.reader.common.model.VO
{

    public class BookmarkItemVO extends Object
    {
        private var _serialid:String;
        private var _docid:String;
        private var _pn:int;
        private var _offset:int;
        public static const TOC_PAGE:int = -1;

        public function BookmarkItemVO(param1:String = null, param2:String = null, param3:int = 0, param4:int = 0)
        {
            this._serialid = param1;
            this._docid = param2;
            this._pn = param3;
            this._offset = param4;
            return;
        }// end function

        public function get serialid() : String
        {
            return this._serialid;
        }// end function

        public function set serialid(param1:String) : void
        {
            this._serialid = param1;
            return;
        }// end function

        public function get docid() : String
        {
            return this._docid;
        }// end function

        public function set docid(param1:String) : void
        {
            this._docid = param1;
            return;
        }// end function

        public function get pn() : int
        {
            return this._pn;
        }// end function

        public function set pn(param1:int) : void
        {
            this._pn = param1;
            return;
        }// end function

        public function get offset() : int
        {
            return this._offset;
        }// end function

        public function set offset(param1:int) : void
        {
            this._offset = param1;
            return;
        }// end function

        public static function getVOfromObject(param1:Object) : BookmarkItemVO
        {
            return new BookmarkItemVO(param1.serialid, param1.docid, param1.pn, param1.offset);
        }// end function

    }
}
